home *** CD-ROM | disk | FTP | other *** search
- function btn_go()
- {
- for(var _loc4_ in this)
- {
- if(typeof this[_loc4_] == "movieclip" and this[_loc4_]._name.substr(0,1) == "h")
- {
- this[_loc4_].onRelease = function()
- {
- var _loc3_ = Number(this._name.substr(1,1));
- _root.fair_movie.n = _loc3_;
- _root.fair_movie.gotoAndPlay(2);
- _root.sound_ini4();
- };
- }
- if(typeof this[_loc4_] == "movieclip" and this[_loc4_]._name.substr(0,1) == "x")
- {
- this[_loc4_].onRelease = function()
- {
- var _loc3_ = Number(this._name.substr(1,1));
- _root.model_mc.jew02_mc.gotoAndStop(_loc3_ + 1);
- _root.sound_ini4();
- };
- }
- if(typeof this[_loc4_] == "movieclip" and this[_loc4_]._name.substr(0,1) == "j")
- {
- this[_loc4_].onRelease = function()
- {
- var _loc3_ = Number(this._name.substr(1,1));
- _root.model_mc.jew01_mc.gotoAndStop(_loc3_ + 1);
- _root.sound_ini4();
- };
- }
- if(typeof this[_loc4_] == "movieclip" and this[_loc4_]._name.substr(0,1) == "w")
- {
- this[_loc4_].onRelease = function()
- {
- var _loc3_ = Number(this._name.substr(1,1)) + 1;
- if(_root.model_mc.waitao_mc._currentframe == _loc3_)
- {
- _root.model_mc.waitao_mc.gotoAndStop(1);
- }
- else
- {
- _root.model_mc.waitao_mc.gotoAndStop(_loc3_);
- _root.sound_ini4();
- }
- };
- }
- if(typeof this[_loc4_] == "movieclip" and this[_loc4_]._name.substr(0,1) == "c")
- {
- this[_loc4_].onRelease = function()
- {
- var _loc3_ = Number(this._name.substr(1,1)) + 1;
- if(_root.model_mc.cap_mc._currentframe == _loc3_)
- {
- _root.model_mc.cap_mc.gotoAndStop(1);
- }
- else
- {
- _root.model_mc.cap_mc.gotoAndStop(_loc3_);
- _root.sound_ini4();
- }
- };
- }
- if(typeof this[_loc4_] == "movieclip" and this[_loc4_]._name.substr(0,1) == "b")
- {
- this[_loc4_].onRelease = function()
- {
- var _loc3_ = Number(this._name.substr(1,1)) + 1;
- if(_root.model_mc.jew03_mc._currentframe == _loc3_)
- {
- _root.model_mc.jew03_mc.gotoAndStop(1);
- }
- else
- {
- _root.model_mc.jew03_mc.gotoAndStop(_loc3_);
- _root.sound_ini4();
- }
- };
- }
- if(typeof this[_loc4_] == "movieclip" and this[_loc4_]._name.substr(0,1) == "y")
- {
- this[_loc4_].onRelease = function()
- {
- var _loc3_ = Number(this._name.substr(1,1)) + 1;
- if(_root.model_mc.yaodai_mc._currentframe == _loc3_)
- {
- _root.model_mc.yaodai_mc.gotoAndStop(1);
- }
- else
- {
- _root.model_mc.yaodai_mc.gotoAndStop(_loc3_);
- _root.sound_ini4();
- }
- };
- }
- if(typeof this[_loc4_] == "movieclip" and this[_loc4_]._name.substr(0,1) == "g")
- {
- this[_loc4_].onRelease = function()
- {
- var _loc3_ = Number(this._name.substr(1,1)) + 1;
- if(_root.model_mc.glass_mc._currentframe == _loc3_)
- {
- _root.model_mc.glass_mc.gotoAndStop(1);
- }
- else
- {
- _root.model_mc.glass_mc.gotoAndStop(_loc3_);
- _root.sound_ini4();
- }
- };
- }
- }
- }
- stop();
- btn_go();
-